using Godot;
using System;
using System.Text.Json.Nodes;


public partial class GameEvents : Node
{
	[Signal] 
	public delegate void ExperienceVialCollectedEventHandler(int number);
	[Signal]
	public delegate void AbilityUpgradeAddedEventHandler(AbilityUpgrade upgrade,int quantity);
	[Signal]
	public delegate void PlayerDamagedEventHandler();

	public void EmitExperienceVialCollected(int number){
		this.EmitSignal("ExperienceVialCollected", number);
	}

	public void EmitAbilityUpgradeAdded(AbilityUpgrade upgrade,int quantity){
		this.EmitSignal(nameof(AbilityUpgradeAdded),upgrade,quantity);
	}

	public void EmitPlayerDamaged(){
		this.EmitSignal(nameof(PlayerDamaged));
	}
}
